/*
* This file is a part of the open-eBackup project.
* This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
* If a copy of the MPL was not distributed with this file, You can obtain one at
* http://mozilla.org/MPL/2.0/.
*
* Copyright (c) [2024] Huawei Technologies Co.,Ltd.
*
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
*/
package openbackup.access.framework.resource.model;

import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * 复制worm上下文
 *
 */
@Getter
@Setter
public class RepliacatWormContext implements Serializable {
    private static final long serialVersionUID = 4252594108319123350L;

    /**
     * 副本ID
     */
    private String copyId;

    /**
     * 复制副本ID
     */
    private String repId;

    /**
     * 复制策略ID
     */
    private String repPolicyId;

    /**
     * 集群ID
     */
    private int clusterId;

    /**
     * worm状态
     */
    private String wormStatus;

    /**
     * 资源ID
     */
    private String resourceId;

    private Integer retryTimes = 0;
}
